Skip to content

Conversation

Wesley413
Copy link
Contributor

Summary

This PR adds Indonesian (id) and Spanish (LATAM) (es-419) to the valid_locates variable to prevent the following errors:

ValidationError: Locale 'id' is not a valid locale. See https://discord.com/developers/docs/reference#locales for a list of supported locales.

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@plun1331 plun1331 enabled auto-merge (squash) April 25, 2025 18:27
@plun1331 plun1331 disabled auto-merge April 25, 2025 18:27
@plun1331 plun1331 changed the title fix: 🐛 update valid_locates variable to support two more languages fix: 🐛 update valid_locales variable to support id and es-419 Apr 25, 2025
@plun1331 plun1331 enabled auto-merge (squash) April 25, 2025 18:28
@plun1331 plun1331 merged commit c0c0b7c into Pycord-Development:master Apr 26, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants